/**
 * @ProjectName： naive-admin
 * @FileName： 路由入口文件
 * @Description: // TODO
 * @Author: ellwood
 * @date: 2023/12/28 - 8:19
 * @Version: V1.0.0
 */
import { createRouter, createWebHistory } from 'vue-router'
import staticRoutes from '~/router/staticRoutes.ts'

const router = createRouter({
  history: createWebHistory(import.meta.env.VITE_APP_BASE ?? '/'),
  routes: [...staticRoutes],
})

export default router
